﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PlanProd.Contracts
{
    [Serializable]
    [DataContract]
    public class Producto
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string ProductoIdExterno { get; set; }

        [DataMember]
        public string ProductoNombre { get; set; }  

        [DataMember]
        public string ColorIdExterno { get; set; }

        [DataMember]
        public string ColorNombreExterno { get; set; }

        [DataMember]
        public string TemporadaLetra { get; set; }

        [DataMember]
        public string TemporadaNombre { get; set; }

        [DataMember]
        public string MarcaIdExterno { get; set; }

        [DataMember]
        public string MarcaNombreExterno { get; set; }

        [DataMember]
        public string OrigenIdExterno { get; set; }

        [DataMember]
        public string OrigenNombreExterno { get; set; }

        [DataMember]
        public string LineaIdExterno { get; set; }

        [DataMember]
        public string LineaNombreExterno { get; set; }

        [DataMember]
        public string FamiliaIdExterno { get; set; }

        [DataMember]
        public string FamiliaNombreExterno { get; set; }

        [DataMember]
        public string SubFamiliaIdExterno { get; set; }

        [DataMember]
        public string SubFamiliaNombreExterno { get; set; }

        [DataMember]
        public int CalidadId { get; set; }            

        [DataMember]
        public string Calidad { get; set; }

        public string DisplayName
        {
            get
            {
                return ProductoNombre;
            }
        }
    }
}
